
import router from './public/router.js';
import setupCustomComponents from  "./public/customComponents.js"

const vueApp = Vue.createApp({
    components: {
        'layout': Vue.defineAsyncComponent( () => M.loadVueModule('../views/layout.vue') )
    },
    template: '<layout></layout>'
});
vueApp.use(setupCustomComponents) ;
vueApp.use(router)
vueApp.use(vant);
vueApp.mount('#root');